package misscl.online.slh_gym.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author theo
 * @since 2022/11/28 22:03
 */
@Getter
@Setter
@TableName("vip_card")
@ApiModel(value = "VipCard对象", description = "")
public class VipCard implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("会员id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer uid;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty("会员卡类型")
    @TableField("card_type")
    private Integer cardType;

    @ApiModelProperty("会员状态")
    private Integer status;

    @ApiModelProperty("会员余额")
    private String money;

    @ApiModelProperty("到期时间")
    @TableField("end_time")
    private LocalDateTime endTime;

    @ApiModelProperty("会员卡编号")
    @TableField("card_uuid")
    private String cardUuid;


}
